
public class Bear extends Animal {

	public Bear(String status) {
		super(status);
	}
	
	@Override
	public void makeMove(SiteGrid sg)
	{
		SiteType siteType = null;
		try {
			siteType = site.getType();
			if (getStatus().equals("ALIVE") && siteType == SiteType.WINTERING && Math.random() <= 0.3) {
				die();
				return;
			}
		} catch (Exception ex) {	
		}
		
		super.makeMove(sg);	
	}

}
